<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0 auto;
            padding: 0;
        }
        
        .box {
            width: 273px;
            height: 332px;
            border: 1px solid red;
            margin: 30px auto;
            overflow: hidden;
        }
        
        .box a {
            display: block;
            width: 100%;
            height: 100%;
            background: url(img/5.png);
            ;
            transition: all 1s;
        }
        
        .box:hover a {
            transform: scale(1.2);
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="header">
            <a href="#"></a>
        </div>

    </div>
</body>

</html>